﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl" >
  <xsl:param name="OrderId" />
  <xsl:param name="CompanyName" />
  <xsl:param name="CustomerName" />  
  <xsl:param name="Address"/>
  <xsl:param name="TelPhone"/>
  <xsl:param name="Content"/>
  <xsl:param name="product"/>

  <xsl:template match="/">    
    <html>
      <head>
        <title>
          Số hóa đơn Mail  <b>
            <xsl:value-of select="$OrderId"/>
          </b>
          từ khách hàng <b><xsl:value-of select="$CustomerName"/>
        </b></title>
      </head>
      <body>
        <p>
          Chào <xsl:value-of select="$CompanyName"/>,
        </p>
        <p>
          <br /><b>Số HD :</b><xsl:value-of select="$OrderId"/>
          <br /><b>Tôi là :</b> <xsl:value-of select="$CustomerName"/>
          <br /><b>Địa chỉ giao hàng :</b> <xsl:value-of select="$Address"/>
          <br /><b>Điện thoại :</b> <xsl:value-of select="$TelPhone"/>
          <br /><b>Sản phẩm :</b>
          <br /> <xsl:value-of select="$product"/>
          <br /><b>Nội dung như sau :</b>
          <br />
                      <xsl:value-of select="$Content"/>
        </p>
        <p>
          <br /><br />Cảm ơn,<br />
          <b>
            <xsl:value-of select="$CompanyName"/>.
          </b>
        </p>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>
